<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends MY_Controller {
	
	function __construct()
    {
        parent::__construct();
    }

	public function index()
	{
		$this->load->helper('cookie');
		$cookie = get_cookie("trms_infographic");
		
		if(!$cookie) {
			$this->render_main('welcome');
		} else {
			$this->render_main('home');
		}
		
		
		
		
		
		
		
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */